package gdut.jmxywz.been;

import java.util.HashSet;
import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private Integer studentId;
	private Stclass stclass;
	private String studentNum;
	private String studentName;
	private String studentPwd;
	private Set stmessageBoards = new HashSet(0);
	private Set stmessageReplies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(Stclass stclass, String studentNum, String studentName,
			String studentPwd) {
		this.stclass = stclass;
		this.studentNum = studentNum;
		this.studentName = studentName;
		this.studentPwd = studentPwd;
	}

	/** full constructor */
	public Student(Stclass stclass, String studentNum, String studentName,
			String studentPwd, Set stmessageBoards, Set stmessageReplies) {
		this.stclass = stclass;
		this.studentNum = studentNum;
		this.studentName = studentName;
		this.studentPwd = studentPwd;
		this.stmessageBoards = stmessageBoards;
		this.stmessageReplies = stmessageReplies;
	}

	// Property accessors

	public Integer getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public Stclass getStclass() {
		return this.stclass;
	}

	public void setStclass(Stclass stclass) {
		this.stclass = stclass;
	}

	public String getStudentNum() {
		return this.studentNum;
	}

	public void setStudentNum(String studentNum) {
		this.studentNum = studentNum;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentPwd() {
		return this.studentPwd;
	}

	public void setStudentPwd(String studentPwd) {
		this.studentPwd = studentPwd;
	}

	public Set getStmessageBoards() {
		return this.stmessageBoards;
	}

	public void setStmessageBoards(Set stmessageBoards) {
		this.stmessageBoards = stmessageBoards;
	}

	public Set getStmessageReplies() {
		return this.stmessageReplies;
	}

	public void setStmessageReplies(Set stmessageReplies) {
		this.stmessageReplies = stmessageReplies;
	}

}